<template>
    <div>
        <x-header :left-options="showBack" >{{title}}  <span slot="right" @click="submit" v-show="showStatus" >{{showTitle}}</span> </x-header>
    </div>

</template>
<script>
    import { XHeader} from 'vux'
    export default {
        components: {
            XHeader,
        },
        props:
           [
               'title',
               'showBack',
               'showStatus',
               'showTitle'
           ]
        ,
        data(){
            return {

            }
        },
        methods:{
            submit(){
                this.$emit('submit')
            }
        }

    }
</script>

<style>
  @import "../assets/css/base.css";
</style>